package net.hn.hnms.biz.safety.trinity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/4
 */
@Data
@Entity
@ApiModel("隐患整改表")
@Table(name = "hidden_danger_reform")
public class HiddenDangerReform {

    @ApiModelProperty(value = "束管信息ID")
    @TableId(value = "danger_reform_id")
    @Id
    private String id;

    @Column(name = "mine_code")
    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @Column(name = "danger_id")
    @ApiModelProperty(value = "隐患ID")
    private String dangerId;

    @Column(name = "reform_date")
    @ApiModelProperty(value = "整改时间")
    private Date reformDate;

    @Column(name = "reform_dept_code")
    @ApiModelProperty(value = "整改部门编码")
    private String reformDeptCode;

    @Column(name = "reform_dept_name")
    @ApiModelProperty(value = "整改部门名称")
    private String reformDeptName;

    @Column(name = "reform_person_code")
    @ApiModelProperty(value = "整改人编码")
    private String reformPersonCode;

    @Column(name = "reform_person_name")
    @ApiModelProperty(value = "整改人名称")
    private String reformPersonName;

    @Column(name = "reform_excution")
    @ApiModelProperty(value = "整改完成情况")
    private String reformExcution;

    @Column(name = "reform_policy")
    @ApiModelProperty(value = "整改措施")
    private String reformPolicy;

    @Column(name = "reform_result")
    @ApiModelProperty(value = "整改结果（01：02：03）")
    private String reformResult;

    @Column(name = "data_time")
    @ApiModelProperty(value = "数据时间")
    private Date dataTime;

    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}
